package com.zxy.service.impl;

import com.zxy.entity.Student;
import com.zxy.mapper.StudentMapper;
import com.zxy.service.IStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Zxy
 * @since 2021-05-11
 */
@Service
@AllArgsConstructor
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {

    private final StudentMapper studentMapper;

    @Override
    public int stuExam(Integer stuId, Integer status) {
        return studentMapper.stuExam(stuId, status);
    }
}
